/*
 * (C) Copyright 2016 Ymatou (http://www.ymatou.com/).
 * 
 * All rights reserved.
 */
package com.ymatou.iapi.trading.operate.parameter.enums;

/**
 * 订单来源枚举，跟.NET版完全一致
 * 
 * @author tuwenjie 2016年5月7日 下午4:28:58
 *
 */
public enum OrderSourceEnum {

    PC(0),

    APP(1),

    WAP(2),

    Wechat(3),

    C2CAPP(4),

    C2CWAP(5),

    C2CWechat(6),

    Other(7),

    ;

    private int code;

    private OrderSourceEnum(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    ;

}
